import request from '@/utils/request'

// 查询商户认证列表 
export function listMerchantVerification(query) {
  return request({
    url: '/merchant/merchantVerification/list',
    method: 'get',
    params: query
  })
}

// 查询商户认证详细
export function getMerchantVerification(id) {
  return request({
    url: '/merchant/merchantVerification/' + id,
    method: 'get'
  })
}

// 新增商户认证
export function addMerchantVerification(data) {
  return request({
    url: '/merchant/merchantVerification',
    method: 'post',
    data: data
  })
}

// 修改商户认证
export function updateMerchantVerification(data) {
  return request({
    url: '/merchant/merchantVerification',
    method: 'put',
    data: data
  })
}

// 删除商户认证
export function delMerchantVerification(id) {
  return request({
    url: '/merchant/merchantVerification/' + id,
    method: 'delete'
  })
}
